package sam.msm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * © 2017 UTSOFT.CN
 * @Package: sam.msm
 * @ClassName: SamMsmApplication
 * @Description: 描述：系统启动类
 * @author: you-lin.wang@utsoft.cn
 * @date: 2017年9月18日 下午3:17:27
 * @version: V1.0
 */
@SpringBootApplication
@MapperScan(basePackages = { "sam.msm.model.mapper" })
public class SamMsmApplication extends SpringBootServletInitializer {
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(SamMsmApplication.class);
	}
	public static void main(String[] args) throws Exception {
		SpringApplication.run(SamMsmApplication.class, args);
	}
}
